# coding: utf8

from mongoengine import *
from mongoengine.django.auth import User

class People(Document):
    user         = ReferenceField(User, unique=True)
    wish         = ListField(StringField(max_length=128))
    visited      = ListField(StringField(max_length=128))
    friends      = ListField(StringField(max_length=16))
    is_confirmed = BooleanField(default=False)
    avatar       = FileField()
